home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 43 / Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso / -serious- / wb / flynn / source / smakefile-68040 < prev    next >
Text File  |  1999-06-15  |  1KB  |  46 lines

  1. #
  2. #    
  3. #
  4. .c.o:
  5.     sc $< $(CFLAGS) cpu=$(CPU)
  6.  
  7. ###############################################################################
  8.  
  9. CPU =            68040
  10. MATH =            math=68882
  11. OPTIMIZE =    optimize optschedule nooptsize opttime \
  12.     optinline optinlocal optloop nooptalias \
  13.     optrdepth=6 optdepth=6 optcomplexity=10
  14. #DEBUG =        debug=symbol
  15. DEF=            NDEBUG
  16.  
  17. CFLAGS =        nostrmerge nostkchk memsize=huge params=r precision=mixed structureequivalence \
  18.                 define=CPU_$(CPU) $(DEBUG) $(MATH) $(OPTIMIZE) define=$(DEF)
  19.  
  20. LFLAGS =        smallcode smalldata noicons stripdebug
  21.  
  22. LIBS =            lib:scm040.lib lib:sc.lib lib:debug.lib lib:amiga.lib
  23.  
  24. OBJS=             lib:c.o    \
  25.                 global.o window.o Subtask.o tools.o flynnapp.o flynnpic.o
  26.  
  27. flynn:        $(OBJS)
  28.             slink with <<
  29.                 from $(OBJS)
  30.                 to $@
  31.                 lib $(LIBS)
  32.                 $(LFLAGS)
  33.             <
  34.  
  35. tools.o: tools.c global.h
  36.  
  37. global.o: global.c defs.h debug.h
  38.  
  39. flynnapp.o: flynnapp.c flynnapp.h global.h
  40.  
  41. window.o: window.c defs.h global.h window.h
  42.  
  43. Subtask.o: Subtask.c subtask.h debug.h
  44.  
  45. flynnpic.o: flynnpic.c flynnpic.h
  46.